import type { FC, CSSProperties, ReactNode } from "react";

export interface DrawerPanelProps {
  open: boolean;
  width?: string | number;
  title?: string | ReactNode;
  className?: string;
  style?: CSSProperties;
  children?: ReactNode;
  footer?: ReactNode;
  maskClosable?: boolean;
  confirmDisabled?: boolean;
  confimLoading?: boolean;
  showClose?: boolean;
  showConfirm?: boolean;
  extraButtons?: Array<{
    text: string;
    type?: string;
    onClick: () => void;
  }>;
  lazyLoad?: FC;
  onClose?: () => void;
  onConfirm?: (value?: any) => void;
}
